import request from '@/utils/request';

// 设置 request 请求的超时时间 为 10s
request.defaults.timeout = 10000;


// 与 AI 聊天
export const withAIChat = (userId, message) => {
    return request.get(`/user/xfModel?uid=${userId}&text=${message}`)
}